home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Developer CD Series 1995 February: Tool Chest
/
Dev.CD Feb 95
/
Dev.CD Feb 95.toast
/
Tool Chest
/
Interfaces
/
Universal Interfaces 1.0
/
CIncludes
/
stddef.h
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1994-07-03
|
434 b
|
31 lines
|
[
TEXT/MPS
]
/*
StdDef.h -- Common definitions
Copyright Apple Computer,Inc. 1987-1990, 1994
All rights reserved.
*/
#ifndef __STDDEF__
#define __STDDEF__
typedef int ptrdiff_t;
#ifndef __size_t__
#define __size_t__
typedef unsigned int size_t;
#endif
#ifndef __wchar_t__
#define __wchar_t__
typedef short wchar_t;
#endif
#ifndef NULL
#define NULL 0
#endif
#define offsetof(structure,field) ((size_t)&((structure *) 0)->field)
#endif